<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>事件修饰符</title>
</head>
<body>
<div id="app">
  <ui>
      <li v-for="user,index in users">
             {{index+1}}   {{user.id}}--{{user.name}}--{{user.age}}
      </li>
  </ui>
</div>

<script src="./node_modules/vue/dist/vue.js"></script>
<script>
    var app = new Vue({
        el:"#app",
        data:{
            users : [
                {
                    id :10081,
                    name :"刘德华1",
                    age: 51
                },
                {
                    id :10081,
                    name :"刘德华2",
                    age: 52
                },
                {
                    id :10081,
                    name :"刘德华3",
                    age: 53
                }
            ]
        }

    })
</script>
</body>
</html>